<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<meta name="renderer" content="webkit|ie-comp|ie-stand">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1.0,maximum-scale=1.0,user-scalable=no" />
<meta http-equiv="Cache-Control" content="no-siteapp" />

<!--[if lt IE 9]>
<script type="text/javascript" src="../Public/js/html5.js"></script>
<script type="text/javascript" src="../Public/js/respond.min.js"></script>
<script type="text/javascript" src="../Public/js/PIE_IE678.js"></script>
<![endif]-->
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.css"/>
<link type="text/css" rel="stylesheet" href="../Public/css/H-ui.admin.css"/>
<link type="text/css" rel="stylesheet" href="../Public/font/font-awesome.min.css"/>
<!--[if IE 7]>
<link href="../Public/font/font-awesome-ie7.min.css" rel="stylesheet" type="text/css" />
<![endif]-->
<title>添加管理员</title>
</head>
<body>
<nav class="Hui-breadcrumb"><i class="icon-home"></i> 首页 <span class="c-gray en">&gt;</span> </nav>
<div class="pd-20">
  <div class="Huiform">
    <form action="{:U('Admin/Zhanshi/edit')}" method="post" enctype="multipart/form-data" >
      <table class="table radius table-striped table-hover  " >
        <tbody>

             
            <tr>
            <th class="text-r"><span class="c-red">*</span> 现有图片：</th>
            <td><img src="Uploads/{$info.img}" width="300" height="200">
                                  
            </td>
          </tr>

              
         

         <tr>
            <th  width="280" class="text-r" ><span class="c-red">*</span> 商品图片：</th>
            <td><input type="file" style="width:270px" class="input-text"   name="pic">
    
      </td>
          </tr>
         <tr>
            <th  width="280" class="text-r" ><span class="c-red">*</span> 商品标题：</th>
            <td><input type="text" style="width:270px" class="input-text" placeholder="商品标题" value="{$info.name}" name="name">
    
      </td>
          </tr>
     
         
            <tr>
            <th class="text-r"><span class="c-red">*</span> 风格分类：</th>
            <td><select name="fengge" style="width: 280px;" class="input-text" >
                                    <volist name="list" id="vo" > 
                                            <option value="{$vo.type_name}">{$vo.type_name}</option>
                                    </volist>        
                                         
                                    </select>
                                  
      </td>
          </tr>
     
                         <tr>
            <th class="text-r"><span class="c-red">*</span> 户型分类：</th>
            <td><select name="huxing" style="width: 280px;" class="input-text" >
                                    <volist name="ljj" id="vo" > 
                                            <option value="{$vo.huxing}">{$vo.huxing}</option>
                                    </volist>        
                                         
                                    </select>
                                  
      </td>
          </tr>

          <tr>
            <th  width="280" class="text-r" ><span class="c-red">*</span> 装修面积：</th>
            <td><input type="text" style="width:270px" class="input-text" placeholder="平方" value="{$info.area}" name="area"><span style=" font-size:16px;">m²</span>

    
      </td>
          </tr>
          <tr>
            <th  width="280" class="text-r" ><span class="c-red">*</span> 装修价格：</th>
            <td><input type="text" style="width:270px" class="input-text" placeholder="价格" value="{$info.price}" name="price"><span style=" font-size:16px;">元/m²
    </span>
      </td>
          </tr>

     
       <tr>
            <th class="text-r">详细内容 ：</th>
            <td>
            
              <script id="containet" name="content" type="text/plain">  </script>
              <script type="text/javascript" src="../Public/ue/ueditor.config.js"  charset="utf-8" ></script>
              <script type="text/javascript" src="../Public/ue/ueditor.all.js"  charset="utf-8" ></script>
              <script type="text/javascript" src="../Public/ue/lang/zh-cn/zh-cn.js" charset="utf-8" ></script>

              <script type="text/javascript">
                var ue = UE.getEditor('container');
                ue.ready(function(){
                    ue.setContent('{$info.intro}');
                    var html = ue.getContent();
                    var txt = ue.getContentTxt();

                });
              </script>
                 <script type="text/plain" id="container" name="intro" style="width:80%;height:260px"></script>
                         <input type="hidden"  value="{$info.id}" name="id">
      </td>
          </tr>
          <tr>
            <th></th>
            <td><button class="btn btn-success radius" type="submit"><i class="icon-ok"></i>确定</button></td>
          </tr>
        </tbody>
      </table>
      
    </form>
  </div>
</div>
<script type="text/javascript" src="../Public/js/jquery.min.js"></script>
<script type="text/javascript" src="../Public/js/jquery.form.js"></script>
<script type="text/javascript" src="../Public/js/H-ui.admin.js"></script> 


</body>
</html>